<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html:html>
<head>
	<link rel="stylesheet" href="<c:url value="/resources/css/bootstrap.min.css"/>" >
	<tiles:importAttribute name="styleList" /> 
	<tiles:importAttribute name="scriptList" /> 
	<c:forEach var="style" items="${styleList}">
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}${style}" >
	</c:forEach>
	<title><tiles:getAsString name="title"/></title>
</head>
<body>
<tiles:insert attribute="header"/>
 
<tiles:insert attribute="body"/> 
 
<tiles:insert attribute="footer"/>
<c:forEach var="script" items="${scriptList}">
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}${script}" >
</c:forEach>
</body>
</html:html>